clear
clear classes
clc

pm = dotsThePlayablesManager.theObject;
tony = pm.newObject('dotsPlayableTone');

tony.frequency = 440;
tony.duration = 1;
tony.prepareToPlay;
pm.mayPlayPlayable(tony);

tony.frequency = 880;
tony.duration = 1;
tony.prepareToPlay;
pm.mayPlayPlayable(tony);



pm = dotsThePlayablesManager.theObject;
filey = pm.newObject('dotsPlayableFile');

filey.fileName = 'Coin.wav';
filey.intensity=2000;
filey.prepareToPlay;
pm.mayPlayPlayable(filey);

tony.frequency = 880;
tony.duration = 1;
tony.prepareToPlay;
pm.mayPlayPlayable(tony);





